package commands;

import bot.CommandBot;

public class Kick implements Command {

	@Override
	public String getCommandName() {
		return "kick";
	}

	@Override
	public boolean execCommand(String channel, String sender, String login,
			String hostname, String message, CommandBot bot) {
		if (message.startsWith(" ")) {
			String user = message;
			bot.sendAction(channel, "kicks " + user);
			return true;
		}
		return false;
	}

	@Override
	public boolean execCommand(String sender, String login, String hostname,
			String message, CommandBot bot) {
		return false;
	}

}
